import store from '../../store'

/**
 * 选择银行数据
 *
 */ 
export const bankType = [
    '招商银行', 
    '工商银行', 
    '建设银行', 
    '农业银行', 
    '中国银行', 
    '交通银行', 
    '中国邮政储蓄银行', 
    '中信银行', 
    '兴业银行', 
    '光大银行', 
    '华夏银行', 
    '中国民生银行', 
    '广发银行', 
    '上海浦东发展银行', 
    '农村信用合作社', 
    '农村商业银行', 
    '平安银行', 
    '上海银行', 
    '北京银行', 
    '恒丰银行', 
    '渤海银行', 
    '广州银行', 
    '天津银行', 
    '浙商银行', 
    '宁波银行', 
    '温州银行', 
    '南京银行', 
    '常熟农村商业银行', 
    '徽商银行', 
    '重庆银行', 
    '哈尔滨银行'
]

/**
 * 彩票体系数据
 *
 */ 
export const lotSelTitle = {
    bjpk10 : '北京赛车', 
    yfsc : '印尼三分PK拾', 
    cqssc : '重庆时时彩', 
    xjssc : '新疆时时彩',
    yfssc : '分分彩', 
    bfefc : '二分彩', 
    bfwfc : '五分彩',
    xglhc : '六合彩',
    bflhc : '极速六合彩',
    gdsyxw : '广东11选5',
    gdklsf : '广东快乐10分',
    bjkb : '北京快八',
    jstb : '江苏骰宝',
    pcdd : '北京PC蛋蛋'
}
export const lotSelObj = {
    bjpk10 : 'bjpk10', 
    yfsc : 'bjpk10', 
    cqssc : 'cqssc', 
    xjssc : 'cqssc', 
    yfssc : 'cqssc', 
    bfefc : 'cqssc', 
    bfwfc : 'cqssc',
    xglhc : 'xglhc',
    bflhc : 'xglhc',
    gdsyxw : 'gdsyxw',
    gdklsf : 'gdklsf',
    bjkb : 'bjkb',
    jstb : 'jstb',
    pcdd : 'pcdd'
}
// 获取从min到max，赔率为odds的数组
export const numCont = (min, max, odds) => {
    let arr = []
    for(let i = min; i <= max; i++){
        let data = []
        if(odds == 'number'){
            data = [i, i, '', i]
        }else{
            data = [i, odds, '', i]
        }
        arr.push(data)
    }
    return arr
}
// 北京赛车、印尼三分PK拾 
// 冠亚和数字内容
export const GYHCont = [
    [3, 'san', 'gyh', '3'], 
    [4, 'si', 'gyh', '4'], 
    [5, 'wu', 'gyh', '5'], 
    [6, 'liu', 'gyh', '6'], 
    [7, 'qi', 'gyh', '7'], 
    [8, 'ba', 'gyh', '8'], 
    [9, 'jiu', 'gyh', '9'], 
    [10, 'shi', 'gyh', '10'], 
    [11, 'shiy', 'gyh', '11'], 
    [12, 'shie', 'gyh', '12'], 
    [13, 'shis', 'gyh', '13'], 
    [14, 'shisi', 'gyh', '14'], 
    [15, 'shiw', 'gyh', '15'], 
    [16, 'shil', 'gyh', '16'], 
    [17, 'shiq', 'gyh', '17'], 
    [18, 'shib', 'gyh', '18'], 
    [19, 'shij', 'gyh', '19'], 
    ['大', 'gyd', 'gyh_dx', 'da'], 
    ['小', 'gyx', 'gyh_dx', 'xiao'], 
    ['单', 'gydan', 'gyh_ds', 'dan'], 
    ['双', 'gys', 'gyh_ds', 'shuang'], 
    ['大双', 'gyds', 'gyh_dxds', 'dashuang'], 
    ['大单', 'gydd', 'gyh_dxds', 'dadan'], 
    ['小双', 'gyxs', 'gyh_dxds', 'xiaoshuang'], 
    ['小单', 'gyxd', 'gyh_dxds', 'xiaodan']
]
// 冠亚和1至5名玩法
export const d1d5Play = {
    d1m : '冠军', 
    d2m : '亚军', 
    d3m : '第三名', 
    d4m : '第四名', 
    d5m : '第五名'
}
// 冠亚和1至5名内容
export const dxdslhCont = [
    ['大', 'dxds', '_dx', 'da'],
    ['小', 'dxds', '_dx', 'xiao'],
    ['单', 'dxds', '_ds', 'dan'],
    ['双', 'dxds', '_ds', 'shuang'],
    ['龙', 'loongh', '_lh', 'loong'],
    ['虎', 'loongh', '_lh', 'hu']
]
// 冠亚和6至10名玩法
export const d6d10Play = {
    d6m : '第六名', 
    d7m : '第七名', 
    d8m : '第八名', 
    d9m : '第九名', 
    d10m : '第十名'
}
// 北京赛车6-10、重庆时时彩1-5 大小单双内容
export const dxdsCont = [
    ['大', 'dxds', '_dx', 'da'],
    ['小', 'dxds', '_dx', 'xiao'],
    ['单', 'dxds', '_ds', 'dan'],
    ['双', 'dxds', '_ds', 'shuang']
]

/**
 * 重庆时时彩/分分彩/一分彩/二分彩/五分彩/新疆时时彩
 *
 */ 
// 两面盘内容
export const lmpCont = [
    ['总大', 'zh', 'zh_dx', 'da'],
    ['总小', 'zh', 'zh_dx', 'xiao'],
    ['总单', 'zh', 'zh_ds', 'dan'],
    ['总双', 'zh', 'zh_ds', 'shuang'],
    ['龙', 'loong', 'lh', 'loong'],
    ['虎', 'hu', 'lh', 'hu'],
    ['和', 'he', 'lh', 'he']
]
// 1至5球玩法
export const c1d5Play = {
    d1q : '第一球', 
    d2q : '第二球', 
    d3q : '第三球', 
    d4q : '第四球', 
    d5q : '第五球'
}
// 前中后玩法
export const qzhPlay = {q3 : '前三', z3 : '中三', h3 : '后三'}
// 前中后内容
export const qzhCont = [
    ['豹子', 'bz', '', 'bz'],
    ['顺子', 'sz', '', 'sz'],
    ['对子', 'dz', '', 'dz'],
    ['半顺', 'bs', '', 'bs'],
    ['杂六', 'zl', '', 'zl']
]
// 一字组合玩法
export const yzzhPlay = {q3 : '前三', z3 : '中三', h3 : '后三', q5 : '全五'}
// 二字组合内容
export const ezzhCont = () => {
    let arr0 = []
    for(let i=0; i<10; i++){
        for(let n=0; n<10; n++){
            if(n>=i){
                let odds = ''
                let text = String(i) + String(n)
                let cont = String(i) + ',' + String(n)
                if(i == n){
                    odds = 'dz'
                } else {
                    odds = 'qy'
                }
                arr0.push([text, odds, '', cont])
            }
        }
    }
    return arr0
}
// 三字组合内容
export const szzhCont = () => {
    let arr0 = []
    for(let i=0; i<10; i++){
        for(let n=0; n<10; n++){
            for(let x=0; x<10; x++){
                if(n>=i && x>=n){
                    let odds = ''
                    let text = String(i) + String(n) + String(x)
                    let cont = String(i) + ',' + String(n) + ',' + String(x)
                    if(i == n && n == x){
                        odds = 'sth'
                    }else if(i == n || n == x){
                        odds = 'dz'
                    }else{
                        odds = 'qy'
                    }
                    arr0.push([text, odds, '', cont])
                }
            }
        }
    }
    return arr0
}
// 二字定位玩法
export const ezdwPlay = {
    w : '万位', 
    q : '千位', 
    b : '百位', 
    s : '十位', 
    g : '个位'
}
// 三字定位玩法
export const szdwPlay = {
    q3 : {
        w : '万位', 
        q : '千位', 
        b : '百位'
    }, 
    z3 : { 
        q : '千位', 
        b : '百位', 
        s : '十位'
    }, 
    h3 : { 
        b : '百位', 
        s : '十位', 
        g : '个位'
    }
}
// 组选三内容
export const zx3Cont = () => {
    let arr0 = []
    for(let i=0; i<10; i++){
        for(let n=0; n<10; n++){
            if(n>i){
                let text = String(i) + String(n)
                let cont = String(i) + ',' + String(n)
                arr0.push([text, 'zxs', '', cont])
            }
        }
    }
    return arr0
}
// 组选六内容
export const zx6Cont = () => {
    let arr0 = []
    for(let i=0; i<10; i++){
        for(let n=0; n<10; n++){
            for(let x=0; x<10; x++){
                if(n>i && x>n){
                    let text = String(i) + String(n) + String(x)
                    let cont = String(i) + ',' + String(n) + ',' + String(x)
                    arr0.push([text, 'zxl', '', cont])
                }
            }
        }
    }
    return arr0
}
// 和数玩法
export const hsPlay = {
    wq_hs : '万千和数 OOXXX',
    wb_hs : '万百和数 OXOXX',
    ws_hs : '万十和数 OXXOX',
    wg_hs : '万个和数 OXXXO',
    qb_hs : '千百和数 XOOXX',
    qs_hs : '千十和数 XOXOX',
    qg_hs : '千个和数 XOXXO',
    bs_hs : '百十和数 XXOOX',
    bg_hs : '百个和数 XXOXO',
    sg_hs : '十个和数 XXXOO',
}
// 和数内容
export const hsCont = [
    ['单', 'hs', '', 'dan'],
    ['双', 'hs', '', 'shuang']
]

/**
 * 香港六合彩/
 *
 */
// 从1至49内容
export const c1z49Cont = () => {
    const R = [1,2,7,8,12,13,18,19,23,24,29,30,34,35,40,45,46]
    const B = [3,4,9,10,14,15,20,25,26,31,36,37,41,42,47,48]
    const G = [5,6,11,16,17,21,22,27,28,32,33,38,39,43,44,49]
    let data = []
    for(let i=1; i<50; i++){
        let color = ''
        if(R.indexOf(i) > -1){
            color = 'R'
        }else if(B.indexOf(i) > -1){
            color = 'B'
        }else if(G.indexOf(i) > -1){
            color = 'G'
        }
        i < 10 && (i = "0" + i)
        data.push([i, '', '', i, '', color])
    }
    return data
}
// 特码内容
export const hwbCont = [
    ['大', 'dxds', '_dx', 'da'],
    ['小', 'dxds', '_dx', 'xiao'],
    ['单', 'dxds', '_ds', 'dan'],
    ['双', 'dxds', '_ds', 'shuang'],
    ['合单', 'hds', '_hds', 'hedan'],
    ['合双', 'hds', '_hds', 'heshuang'],
    ['尾大', 'wdx', '_wdx', 'weida'],
    ['尾小', 'wdx', '_wdx', 'weixiao'],
    ['红波', 'hb', '_bs', 'R'],
    ['蓝波', 'lanb', '_bs', 'B'],
    ['绿波', 'lb', '_bs', 'G']
]
// 正码 总大小单双内容
export const zdxdsCont = [
    ['总大', 'zdxds', 'zdx', 'zda'],
    ['总小', 'zdxds', 'zdx', 'zxiao'],
    ['总单', 'zdxds', 'zds', 'zdan'],
    ['总双', 'zdxds', 'zds', 'zshuang']
]
// 正特码玩法
export const ztmPlay = [
    ['正特1', 'ztm_zt1', ''],
    ['正特2', 'ztm_zt2', ''],
    ['正特3', 'ztm_zt3', ''],
    ['正特4', 'ztm_zt4', ''],
    ['正特5', 'ztm_zt5', ''],
    ['正特6', 'ztm_zt6', '']
]
// 连码
export const lmPlay = [
    ['二全中', 'eqz', '', 'eqz', 2],
    ['二中特', 'ezt', '', 'ezt', 2],
    ['特串', 'tc', '', 'tc', 2],
    ['三中二', 'sze', '', 'sze', 3],
    ['三全中', 'sqz', '', 'sqz', 3],
    ['', '', 'disabled']
]
export const lmTab = [
    ['复式', '', -1, 'flex-f1 padd-05 bor-r'],
    ['拖头', '', 1, 'flex-f1 padd-05 bor-r'],
    ['生肖对碰', 'sxdp', 2, 'flex-f1 padd-05 bor-r'],
    ['尾数对碰', 'wsdp', 3, 'flex-f1 padd-05 bor-r'],
    ['生尾对碰', 'swdp', 4, 'flex-f1 padd-05 bor-r'],
    ['任意对碰', 'rydp', 5, 'flex-f1 padd-05 ']
]
// 过关玩法
export const ggPlay = {
    zm1 : '正码一',
    zm2 : '正码二',
    zm3 : '正码三',
    zm4 : '正码四',
    zm5 : '正码五',
    zm6 : '正码六'
}
// 过关内容
export const ggCont = [
    ['单', 'dxds', '_dan', 'dan'],
    ['双', 'dxds', '_shuang', 'shuang'],
    ['大', 'dxds', '_da', 'da'],
    ['小', 'dxds', '_xiao', 'xiao'],
    ['红波', 'hb', '_R', 'R'],
    ['蓝波', 'lanb', '_B', 'B'],
    ['绿波', 'lb', '_G', 'G']
]
// 特肖
export const sxCont = (type1, type2) => {
    const sx = [
        ['鼠', 'shu'], 
        ['牛', 'niu'], 
        ['虎', 'hu'], 
        ['兔', 'tu'], 
        ['龙', 'loong'], 
        ['蛇', 'she'], 
        ['马', 'ma'], 
        ['羊', 'yang'], 
        ['猴', 'hou'], 
        ['鸡', 'ji'], 
        ['狗', 'gou'], 
        ['猪', 'zhu']
    ]
    // 判断当前年份生肖
    const now = new Date()
    const year = now.getFullYear()
    const ss = (year-2008) % 12 // 设定2008为初始年份
    // 处理生肖数据
    const { sxNumber } = store.state
    let sum = []
    let num = 0
    for(let i=0; i<sx.length; i++){
        let odds = '' 
        if(type1 == 0){
            odds = type2
        }else{
            if(sx[i][0] == sx[ss][0]){
                odds = type2 + 'gou'
            }else{
                odds = type2 + 'other'
            }
        }
        let arr = [sx[i][0], odds, '', sx[i][1], sxNumber[num]]
        sum.push(arr)
        num ++
    }
    return sum
}
// 特码头内容
export const tmtCont = [
    ['0头', 'ling', '', '0tou'],
    ['1头', 'yds', '', '1tou'],
    ['2头', 'yds', '', '2tou'],
    ['3头', 'yds', '', '3tou'],
    ['4头', 'yds', '', '4tou']
]
// 特码尾内容
export const tmwCont = [
    ['0尾', 'ling', '', '0wei'],
    ['1尾', 'ydjw', '', '1wei'],
    ['2尾', 'ydjw', '', '2wei'],
    ['3尾', 'ydjw', '', '3wei'],
    ['4尾', 'ydjw', '', '4wei'],
    ['5尾', 'ydjw', '', '5wei'],
    ['6尾', 'ydjw', '', '6wei'],
    ['7尾', 'ydjw', '', '7wei'],
    ['8尾', 'ydjw', '', '8wei'],
    ['9尾', 'ydjw', '', '9wei']
]
// 五行内容
export const wxCont = [
    ['金', 'jmsh', '', 'jin', ['01', '06', 11, 16, 21, 26, 31, 36, 41, 46]],
    ['木', 'jmsh', '', 'mu', ['02', '07', 12, 17, 22, 27, 32, 37, 42, 47]],
    ['水', 'jmsh', '', 'shui', ['03', '08', 13, 18, 23, 28, 33, 38, 43, 48]],
    ['火', 'jmsh', '', 'huo', ['04', '09', 14, 19, 24, 29, 34, 39, 44, 49]],
    ['土', 'tu', '', 'tu', ['05', 10, 15, 20, 25, 30, 35, 40, 45]]
]
// 半波内容
export const bbCont = [
    ['红单', 'hd', '', 'Rdan'],
    ['红双', 'hs', '', 'Rshuang'],
    ['红大', 'hda', '', 'Rda'],
    ['红小', 'hx', '', 'Rxiao'],
    ['蓝单', 'ld', '', 'Bdan'],
    ['蓝双', 'ls', '', 'Bshuang'],
    ['蓝大', 'lda', '', 'Bda'],
    ['蓝小', 'lx', '', 'Bxiao'],
    ['绿单', 'lvd', '', 'Gdan'],
    ['绿双', 'lvs', '', 'Gshuang'],
    ['绿大', 'lvda', '', 'Gda'],
    ['绿小', 'lvx', '', 'Gxiao']
]
// 七码玩法
export const qmPlay = {
    qmdanCont : '七码单', 
    qmsCont : '七码双', 
    qmdaCont : '七码大', 
    qmxCont : '七码小'
}
// 七码内容
export const qmdanCont = [
    ['单0', 'dan0', '', 'dan0'],
    ['单1', 'dan1', '', 'dan1'],
    ['单2', 'dan2', '', 'dan2'],
    ['单3', 'dan3', '', 'dan3'],
    ['单4', 'dan4', '', 'dan4'],
    ['单5', 'dan5', '', 'dan5'],
    ['单6', 'dan6', '', 'dan6'],
    ['单7', 'dan7', '', 'dan7']
]
export const qmsCont = [
    ['双0', 'shuang0', '', 'shuang0'],
    ['双1', 'shuang1', '', 'shuang1'],
    ['双2', 'shuang2', '', 'shuang2'],
    ['双3', 'shuang3', '', 'shuang3'],
    ['双4', 'shuang4', '', 'shuang4'],
    ['双5', 'shuang5', '', 'shuang5'],
    ['双6', 'shuang6', '', 'shuang6'],
    ['双7', 'shuang7', '', 'shuang7']
]
export const qmdaCont = [
    ['大0', 'da0', '', 'da0'],
    ['大1', 'da1', '', 'da1'],
    ['大2', 'da2', '', 'da2'],
    ['大3', 'da3', '', 'da3'],
    ['大4', 'da4', '', 'da4'],
    ['大5', 'da5', '', 'da5'],
    ['大6', 'da6', '', 'da6'],
    ['大7', 'da7', '', 'da7']
]
export const qmxCont = [
    ['小0', 'xiao0', '', 'xiao0'],
    ['小1', 'xiao1', '', 'xiao1'],
    ['小2', 'xiao2', '', 'xiao2'],
    ['小3', 'xiao3', '', 'xiao3'],
    ['小4', 'xiao4', '', 'xiao4'],
    ['小5', 'xiao5', '', 'xiao5'],
    ['小6', 'xiao6', '', 'xiao6'],
    ['小7', 'xiao7', '', 'xiao7']
]
// 六肖玩法
export const lxPlay = [
    ['二肖', 'lx_ex', '', '', 2],
    ['三肖', 'lx_sanx', '', '', 3],
    ['四肖', 'lx_sx', '', '', 4],
    ['五肖', 'lx_wux', '', '', 5],
    ['六肖', 'lx_lx', '', '', 6],
    ['', '', 'disabled']
]
// 一肖尾数玩法
export const yxwsPlay = [
    ['一肖', 'yxws_yx', '', '', '', 0],
    ['一肖不中', 'yxws_yxbz', '', '', '', 1],
    ['尾数', 'yxws_ws', '', '', '', 2],
    ['尾数不中', 'yxws_wsbz', '', '', '', 3],
    ['', '', 'disabled'],
    ['', '', 'disabled']
]
// 尾数内容
export const wsCont = (type, a, b) => {
    let data = []
    let num = [
        [10, 20, 30, 40],
        ['01', 11, 21, 31, 41],
        ['02', 12, 22, 32, 42],
        ['03', 13, 23, 33, 43],
        ['04', 14, 24, 34, 44],
        ['05', 15, 25, 35, 45],
        ['06', 16, 26, 36, 46],
        ['07', 17, 27, 37, 47],
        ['08', 18, 28, 38, 48],
        ['09', 19, 29, 39, 49]
    ]
    for(let i=0; i<10; i++){
        let odds = '' 
        if(type == 0){
            odds = a
        }else{
            if(i == 0){
                odds = a + b
            }else{
                odds = a + 'ydj'
            }
        }
        let arr = [i + '尾', odds, '', String(i), num[i]]
        data.push(arr)
    }
    return data
}
// 生肖连玩法
export const sxlPlay = [
    ['二肖连', 'sxl_exl', '', '', 2, 0],
    ['三肖连', 'sxl_sanxl', '', '', 3, 0],
    ['四肖连', 'sxl_sxl', '', '', 4, 0],
    ['五肖连', 'sxl_wxl', '', '', 5, 0],
    ['二肖连不中', 'sxl_exlbz', '', '', 2, 1],
    ['三肖连不中', 'sxl_sanxlbz', '', '', 3, 1],
    ['四肖连不中', 'sxl_sxlbz', '', '', 4, 1],
    ['五肖连不中', 'sxl_wxlbz', '', '', 5, 1],
    ['', '', 'disabled']
]
// 尾数连玩法
export const wslPlay = [
    ['二尾连', 'wsl_ewl', '', '', 2, 0],
    ['三尾连', 'wsl_sanwl', '', '', 3, 0],
    ['四尾连', 'wsl_swl', '', '', 4, 0],
    ['二尾连不中', 'wsl_ewlbz', '', '', 2, 1],
    ['三尾连不中','wsl_sanwlbz', '',  '', 3, 1],
    ['四尾连不中', 'wsl_swlbz', '', '', 4, 1]
]
// 不中玩法
export const bzPlay = [
    ['五不中', 'bz_wbz', '', 'wbz', 5],
    ['六不中', 'bz_lbz', '', 'lbz', 6],
    ['七不中', 'bz_qbz', '', 'qbz', 7],
    ['八不中', 'bz_bbz', '', 'bbz', 8],
    ['九不中', 'bz_jbz', '', 'jbz', 9],
    ['十不中', 'bz_sbz', '', 'sbz', 10]
]
// 多选中一
export const dxzyPlay = [
    ['五选中一', 'dxy_wxzy', '', 'wxzy', 5],
    ['六选中一', 'dxy_lxzy', '', 'lxzy', 6],
    ['七选中一', 'dxy_qxzy', '', 'qxzy', 7],
    ['八选中一', 'dxy_bxzy', '', 'bxzy', 8],
    ['九选中一', 'dxy_jxzy', '', 'jxzy', 9],
    ['十选中一', 'dxy_sxzy', '', 'sxzy', 10]
]
// 特中平
export const tpzPlay = [
    ['一粒任中', 'tpz_ylrz', '', 'ylrz', 1],
    ['二粒任中', 'tpz_elrz', '', 'elrz', 2],
    ['三粒任中', 'tpz_sanlrz', '', 'slrz', 3],
    ['四粒任中', 'tpz_slrz', '', 'silrz', 4],
    ['五粒任中', 'tpz_wlrz', '', 'wlrz', 5],
    ['', '', 'disabled']
]


/**
 * 广东11选5/
 *
 */
// 两面盘总和内容
export const lmpZh = [
    ['总和大', 'hdx', 'zonghe', 'heda'],
    ['总和小', 'hdx', 'zonghe', 'hexiao'],
    ['总和单', 'hds', 'zonghe', 'hedan'],
    ['总和双', 'hds', 'zonghe', 'heshuang'],
    ['龙', 'loonghu', 'zonghe', 'loong'],
    ['虎', 'loonghu', 'zonghe', 'hu'],
    ['总和尾大', 'wd', 'zonghe', 'weida'],
    ['总和尾小', 'wx', 'zonghe', 'weixiao']
]
// 两面盘大小单双内容
export const lmpDxds = [
    ['大', 'da', '_dxds', 'da'],
    ['小', 'xiao', '_dxds', 'xiao'],
    ['单', 'dan', '_dxds', 'dan'],
    ['双', 'shuang', '_dxds', 'shuang']
]
// 任选玩法
export const rxPlay = [
    ['一中一', 'yzy', '', 'yzy', 1, 0],
    ['二中二', 'eze', '', 'eze', 2, 1],
    ['三中三', 'szs', '', 'szs', 3, 2],
    ['四中四', 'sizsi', '', 'sizsi', 4, 3],
    ['五中五', 'wzw', '', 'wzw', 5, 4],
    ['六中五', 'lzw', '', 'lzw', 6, 5],
    ['七中五', 'qzw', '', 'qzw', 7, 6],
    ['八中五', 'bzw', '', 'bzw', 8, 7]
]
// 组选玩法
export const zxPlay = [
    ['前二', 'zx_qe', '', 'ze', 2, 0],
    ['后二', 'zx_he', '', 'ze', 2, 1],
    ['前三', 'zx_qs', '', 'zs', 3, 2],
    ['中三', 'zx_zs', '', 'zs', 3, 3],
    ['后三', 'zx_hs', '', 'zs', 3, 4],
    ['', '', 'disabled']
]
// 直选玩法
export const zhixPlay = [
    ['前二', 'zhix_qe', '', 'ze', 2, 0],
    ['后二', 'zhix_he', '', 'ze', 2, 1],
    ['前三', 'zhix_qs', '', 'zs', 3, 2],
    ['中三', 'zhix_zs', '', 'zs', 3, 3],
    ['后三', 'zhix_hs', '', 'zs', 3, 4],
    ['', '', 'disabled']
]
// 获取从min到max，赔率为odds的数组
export const qqPlay = (min, max, odds) => {
    let arr = []
    const num = { 1 : '一', 2 : '二', 3 : '三', 4 : '四', 5 : '五', 6 : '六', 7 : '七', 8 : '八'}
    for(let i = min; i <= max; i++){
        const key = 'd' + i + 'q'
        const value = '第' + num[i] + '球'
        arr.push([key, value, odds])
    }
    return arr
}


/**
 * 广东快乐十分/
 *
 */
// 两面盘总和内容
export const sflmpZh = [
    ['总大', '', 'zonghe', 'zda'],
    ['总小', '', 'zonghe', 'zxiao'],
    ['总单', '', 'zonghe', 'zdan'],
    ['总双', '', 'zonghe', 'zshuang'],
    ['总尾大', '', 'zonghe', 'zweida'],
    ['总尾小', '', 'zonghe', 'zweixiao']
]
// 两面盘大小单双内容
export const sflmpDxds = [
    ['大', '', '_dxds', 'da'],
    ['小', '', '_dxds', 'xiao'],
    ['单', '', '_dxds', 'dan'],
    ['双', '', '_dxds', 'shuang'],
    ['尾大', '', '_dxds', 'weida'],
    ['尾小', '', '_dxds', 'weixiao'],
    ['合单', '', '_dxds', 'hedan'],
    ['合双', '', '_dxds', 'heshuang']
]
// 方位/中发白内容
export const zfbCont = [
    ['东', 'dnxb', '_dxds', 'e'],
    ['西', 'dnxb', '_dxds', 'w'],
    ['南', 'dnxb', '_dxds', 's'],
    ['北', 'dnxb', '_dxds', 'n'],
    ['中', 'zhong', '_dxds', 'c'],
    ['发', 'fa', '_dxds', 'fa'],
    ['白', 'bai', '_dxds', 'bai']
]
// 任选玩法
export const sfrxPlay = [
    ['任选二', 'xerx', '', 'xerx', 2, 0],
    ['选二连组', 'xelz', '', 'xelz', 2, 1],
    ['选二连直', 'xelzhi', '', 'xelzhi', 2, 2],
    ['任选三', 'xsrx', '', 'xsrx', 3, 3],
    ['选三前组', 'xsqz', '', 'xsqz', 3, 4],
    ['选三前直', 'xsqzhi', '', 'xsqzhi', 3, 5],
    ['任选四', 'xsirx', '', 'xsirx', 4, 6],
    ['任选五', 'xwrx', '', 'xwrx', 5, 7],
    ['', '', 'disabled']
]


/**
 * 北京快八/
 *
 */
// 总和内容
export const zhCont = [
    ['总和大', 'zhdxds', 'zonghe', 'zongheda'],
    ['总和小', 'zhdxds', 'zonghe', 'zonghexiao'],
    ['总和单', 'zhdxds', 'zonghe', 'zonghedan'],
    ['总和双', 'zhdxds', 'zonghe', 'zongheshuang'],
    ['总和810', 'zhbyl', 'zonghe', 'zonghebyl'],
    ['总大单', 'zhgg', 'zonghe', 'zongdadan'],
    ['总大双', 'zhgg', 'zonghe', 'zongdashuang'],
    ['总小单', 'zhgg', 'zonghe', 'zongxiaodan'],
    ['总小双', 'zhgg', 'zonghe', 'zongxiaoshuang']
]
// 五行内容
export const qhhCont = [
    ['前(多)', 'qianhouduo', 'qhh', 'qianduo'],
    ['后(多)', 'qianhouduo', 'qhh', 'houduo'],
    ['前后(和)', 'qianhouhe', 'qhh', 'qianhouhe']
]
export const dshCont = [
    ['单(多)', 'danshuangduo', 'dsh', 'danduo'],
    ['双(多)', 'danshuangduo', 'dsh', 'shuangduo'],
    ['单双(和)', 'danshuanghe', 'dsh', 'danshuanghe']
]
export const kbwxCont = [
    ['金', 'jin', 'wx', 'jin'],
    ['木', 'mu', 'wx', 'mu'],
    ['水', 'shui', 'wx', 'shui'],
    ['火', 'huo', 'wx', 'huo'],
    ['土', 'tu', 'wx', 'tu']
]


/**
 * 江苏骰宝/
 *
 */
// 骰宝内容
export const tbCont = [
    ['1', 'sjdx', '', '1', ''],
    ['2', 'sjdx', '', '2', ''],
    ['3', 'sjdx', '', '3', ''],
    ['4', 'sjdx', '', '4', ''],
    ['5', 'sjdx', '', '5', ''],
    ['6', 'sjdx', '', '6', '']
]
// 大小单双内容
export const tbdxdsCont = [
    ['大', 'sjdx', '', 'da'],
    ['小', 'sjdx', '', 'xiao'],
    ['单', 'sjdx', '', 'dan'],
    ['双', 'sjdx', '', 'shuang']
]
// 围骰内容
export const wtCont = [
    ['1, 1, 1', 'weitou', '', '1'],
    ['2, 2, 2', 'weitou', '', '2'],
    ['3, 3, 3', 'weitou', '', '3'],
    ['4, 4, 4', 'weitou', '', '4'],
    ['5, 5, 5', 'weitou', '', '5'],
    ['6, 6, 6', 'weitou', '', '6'],
    ['全骰', 'quantou', '', 'quantou']
]
// 长牌内容
export const cpCont = [
    ['1, 2', 'cp', '', '1, 2'],
    ['1, 3', 'cp', '', '1, 3'],
    ['1, 4', 'cp', '', '1, 4'],
    ['1, 5', 'cp', '', '1, 5'],
    ['1, 6', 'cp', '', '1, 6'],
    ['2, 3', 'cp', '', '2, 3'],
    ['2, 4', 'cp', '', '2, 4'],
    ['2, 5', 'cp', '', '2, 5'],
    ['2, 6', 'cp', '', '2, 6'],
    ['3, 4', 'cp', '', '3, 4'],
    ['3, 5', 'cp', '', '3, 5'],
    ['3, 6', 'cp', '', '3, 6'],
    ['4, 5', 'cp', '', '4, 5'],
    ['4, 6', 'cp', '', '4, 6'],
    ['5, 6', 'cp', '', '5, 6']
]
// 短牌内容
export const dpCont = [
    ['1, 1', 'dp', '', '1, 1'],
    ['2, 2', 'dp', '', '2, 2'],
    ['3, 3', 'dp', '', '3, 3'],
    ['4, 4', 'dp', '', '4, 4'],
    ['5, 5', 'dp', '', '5, 5'],
    ['6, 6', 'dp', '', '6, 6']
]
// 点数
export const dsCont = () => {
    let arr = []
    for(let i = 4; i < 18; i++){
        arr.push([i+'点', i-4, '', i])
    }
    return arr
}


/**
 * PC蛋蛋/
 *
 */
// 两面盘内容
export const pclmpCont = [
    ['大', 'dxds', 'liangmian', 'da'], 
    ['小', 'dxds', 'liangmian', 'xiao'], 
    ['单', 'dxds', 'liangmian', 'dan'], 
    ['双', 'dxds', 'liangmian', 'shuang'], 
    ['大单', 'smdxds', 'liangmian', 'dadan'], 
    ['大双', 'smdxds', 'liangmian', 'dashuang'], 
    ['小单', 'smdxds', 'liangmian', 'xiaodan'],
    ['小双', 'smdxds', 'liangmian', 'xiaoshuang'], 
    ['极大', 'jdjx', 'liangmian', 'jida'], 
    ['极小', 'jdjx', 'liangmian', 'jixiao']
]
// 波色豹子内容
export const bsbzCont = [
    ['红波', 'bs', 'sbbz', 'hongbo'],
    ['蓝波', 'bs', 'sbbz', 'lanbo'],
    ['绿波', 'bs', 'sbbz', 'lvbo'],
    ['豹子', 'bz', 'sbbz', 'bz']
]